package com.tjtt.gwm.service.impl;

import java.util.List;
import java.util.Map;

import com.tjtt.gwm.bean.TdmEquipmentMain;
import com.tjtt.gwm.dao.EquipmentDao;
import com.tjtt.gwm.service.EquipmentService;
import com.tjtt.tdm.base.PageResult;

public class EquipmentServiceImpl implements EquipmentService {
	private EquipmentDao equipmentDao; 
	
	public EquipmentDao getEquipmentDao() {
		return equipmentDao;
	}

	public void setEquipmentDao(EquipmentDao equipmentDao) {
		this.equipmentDao = equipmentDao;
	}

	
	public void deleteData(Object object) {
		equipmentDao.deleteData(object);
	}

	
	public Object getDataById(Class clazz, Long id) {
		return equipmentDao.getDataById(clazz, id);
	}

	
	public PageResult queryDataList(Map filterMap) {
		return equipmentDao.queryDataList(filterMap);
	}

	
	public void saveObject(Object object) {
		equipmentDao.saveObject(object);
	}

	
	public void updateObject(Object object) {
		equipmentDao.updateObject(object);		
	}
	
	public List queryDataBySql(String sql){
		return equipmentDao.queryDataBySql(sql);
	}

	public PageResult queryBeijianList(Map filterMap) {
		return equipmentDao.queryBeijianList(filterMap);
	}

	public PageResult queryBeijianghjlList(Map filterMap) {
		return equipmentDao.queryBeijianghjlList(filterMap);
	}

	public PageResult queryEqumentBaseList(Map filterMap) {
		return equipmentDao.queryEqumentBaseList(filterMap);
	}

	public PageResult queryHetongList(Map filterMap) {
		return equipmentDao.queryHetongList(filterMap);
	}

	public PageResult queryShebeigzList(Map filterMap) {
		return equipmentDao.queryShebeigzList(filterMap);
	}

	public PageResult queryShebeijlList(Map filterMap) {
		return equipmentDao.queryShebeijlList(filterMap);
	}

	public PageResult queryShebeizlList(Map filterMap) {
		return equipmentDao.queryShebeizlList(filterMap);
	}

	public PageResult queryWeihbyList(Map filterMap) {
		return equipmentDao.queryWeihbyList(filterMap);
	}

	public List getGongys() {
		return equipmentDao.getGongys();
	}

	public List getSccj() {
		return equipmentDao.getSccj();
	}

	public PageResult querySbsx(Map filterMap) {
		return equipmentDao.querySbsx(filterMap);
	}
	public PageResult queryEquipmentTz(Map filterMap){
		return equipmentDao.queryEquipmentTz(filterMap);
	}

	public List getHetong(String equMainId,String htId) {
		return equipmentDao.getHetong(equMainId, htId);
	}

	public List queryOrgId(String orgName) {
		return equipmentDao.queryOrgId(orgName);
	}

	public List queryUserId(String userName) {
		return equipmentDao.queryUserId(userName);
	}

	public List queryGongysId(String gongysName) {
		return equipmentDao.queryGongysId(gongysName);
	}

	public List querySccjId(String sccjName) {
		return equipmentDao.querySccjId(sccjName);
	}
	/*
	 * 根据设备台账名称获取设备台账对象
	 */
	public TdmEquipmentMain queryEquId(String e_name){
		return equipmentDao.queryEquId(e_name);
	}
	/*
	 * 获取合同
	 */
	public List queryHtNo(String htName){
		return equipmentDao.queryHtNo(htName);
	}
	
	public PageResult queryZhoujList(Map filterMap){
		return equipmentDao.queryZhoujList(filterMap);
	}

	@Override
	public PageResult queryEquipmentList(Map filterMap) {
		return equipmentDao.queryEquipmentList(filterMap);
	}
	
	/*
	 * 设备属性列表
	 * wxj
	 */
	public PageResult queryYiqisjjl(Map filterMap){
		return equipmentDao.queryYiqisjjl(filterMap);
	}

	@Override
	public PageResult queryYiqisxjl(Map filterMap) {
		return equipmentDao.queryYiqisxjl(filterMap);
	}
	
	@Override
	public PageResult queryYiqijhjl(Map filterMap) {
		return equipmentDao.queryYiqijhjl(filterMap);
	}

	@Override
	public void exeSql(String sql) {
		equipmentDao.exeSql(sql);
	}
}
